/**
 * 
 */
package com.suneee.refund.entity;

import java.io.Serializable;
import java.sql.Timestamp;

import com.suneee.orm.annotation.Column;
import com.suneee.orm.annotation.Entity;
import com.suneee.orm.annotation.GeneratedValue;
import com.suneee.orm.annotation.GenerationType;
import com.suneee.orm.annotation.Id;
import com.suneee.orm.annotation.Table;
import com.suneee.orm.annotation.Transient;

/**
 * @author liuxh 行业分类管理属性类
 */

@Entity
@Table(name = "t_financial_offline_info")
public class FinancialOfflineInfo implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -6616181465999036453L;

	// 审核状态
	/**
	 * 审核中
	 */
	public final static String AUDIT = "audit";
	/**
	 * 使用中
	 */
	public final static String USE = "use";
	/**
	 * 创建中
	 */
	public final static String CREATE = "create";

	/**
	 * 线下费用id(主键)
	 */
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name = "id", nullable = false)
	private int id;

	/**
	 * 企业编码
	 */
	@Column(name = "enterprise_code", nullable = false)
	private String enterpriseCode;
	
	/**
	 * 登录类型
	 */
	@Column(name = "type", nullable = false)
	private String type;

	/**
	 * 转出金额
	 */
	@Column(name = "out_fee", nullable = false)
	private Float outFee;

	/**
	 * 订单id
	 */
	@Column(name = "order_id", nullable = false)
	private String orderId;

	/**
	 * 转出时间
	 */
	@Column(name = "out_time", nullable = false)
	private Timestamp outTime;

	/**
	 * 商品编码
	 */
	@Column(name = "spu_code", nullable = false)
	private String spuCode;

	/**
	 * 商品名称
	 */
	@Column(name = "spu_name", nullable = false)
	private String spuName;

	/**
	 * 买家账号
	 */
	@Column(name = "buyer_account", nullable = false)
	private String buyerAccount;

	/**
	 * 记录生成时间
	 */
	@Column(name = "created_at", nullable = false)
	private Timestamp createdAt;
	
	/**
	 * 记录更新时间
	 */
	@Column(name = "updated_at", nullable = false)
	private Timestamp updatedAt;


	/**
	 *  创建人id
	 */
	@Column(name = "opt_user_id", nullable = false)
	private int optUserId;
	
	@Transient
	private Long outTimeTemp;


	public int getId() {
		return id;
	}


	public void setId(int id) {
		this.id = id;
	}


	public String getType() {
		return type;
	}


	public void setType(String type) {
		this.type = type;
	}

	public Float getOutFee() {
		return outFee;
	}


	public void setOutFee(Float outFee) {
		this.outFee = outFee;
	}


	public String getOrderId() {
		return orderId;
	}


	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}


	public Timestamp getOutTime() {
		return outTime;
	}


	public void setOutTime(Timestamp outTime) {
		this.outTime = outTime;
	}


	public String getSpuCode() {
		return spuCode;
	}


	public void setSpuCode(String spuCode) {
		this.spuCode = spuCode;
	}


	public String getSpuName() {
		return spuName;
	}


	public void setSpuName(String spuName) {
		this.spuName = spuName;
	}


	public String getBuyerAccount() {
		return buyerAccount;
	}


	public void setBuyerAccount(String buyerAccount) {
		this.buyerAccount = buyerAccount;
	}


	public Timestamp getCreatedAt() {
		return createdAt;
	}


	public void setCreatedAt(Timestamp createdAt) {
		this.createdAt = createdAt;
	}


	public Timestamp getUpdatedAt() {
		return updatedAt;
	}


	public void setUpdatedAt(Timestamp updatedAt) {
		this.updatedAt = updatedAt;
	}


	public int getOptUserId() {
		return optUserId;
	}


	public void setOptUserId(int optUserId) {
		this.optUserId = optUserId;
	}


	public String getEnterpriseCode() {
		return enterpriseCode;
	}


	public void setEnterpriseCode(String enterpriseCode) {
		this.enterpriseCode = enterpriseCode;
	}


	public Long getOutTimeTemp() {
		return outTimeTemp;
	}


	public void setOutTimeTemp(Long outTimeTemp) {
		this.outTimeTemp = outTimeTemp;
	}

	
}
